package com.ruoyi.client.service.impl;

import com.ruoyi.client.mapper.HomeMapper;
import com.ruoyi.client.pojo.vo.HomeCarouselVo;
import com.ruoyi.client.pojo.vo.HomeGoodsVo;
import com.ruoyi.client.service.HomeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class HomeServiceImpl implements HomeService {
    @Resource
    HomeMapper homeMapper;
    @Override
    public List<HomeCarouselVo> getCarouselVoList() {
        return homeMapper.getCarouselVoList();
    }

    @Override
    public List<HomeGoodsVo> geHomeGoodsVoList(int typeId) {
        return homeMapper.geHomeGoodsVoList(typeId);
    }
}
